package com.jluzh10.learning.utils.qiniu;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author yzg
 * @create 2019/5/24
 *
 * 七牛云配置文件
 */
@Component
public class QiniuConfig {
    @Value("${qiniu.accesskey}")
    private String accesskey;

    @Value("${qiniu.secretkey}")
    private String secretkey;

    @Value("${qiniu.bucket}")
    private String bucket;

    @Value("${qiniu.cdns}")
    private String cdns;

    @Value("${qiniu.picture.1980x370}")
    private String pictureCarousel;

    @Value("${qiniu.picture.215x146}")
    private String pictureCourse;

    @Value("${qiniu.picture.30x30}")
    private String pictureHead;


    public String getPictureHead() {
        return pictureHead;
    }

    public void setPictureHead(String pictureHead) {
        this.pictureHead = pictureHead;
    }

    public String getPictureCarousel() {
        return pictureCarousel;
    }

    public void setPictureCarousel(String pictureCarousel) {
        this.pictureCarousel = pictureCarousel;
    }

    public String getPictureCourse() {
        return pictureCourse;
    }

    public void setPictureCourse(String pictureCourse) {
        this.pictureCourse = pictureCourse;
    }

    public String getAccesskey() {
        return accesskey;
    }

    public void setAccesskey(String accesskey) {
        this.accesskey = accesskey;
    }

    public String getSecretkey() {
        return secretkey;
    }

    public void setSecretkey(String secretkey) {
        this.secretkey = secretkey;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public String getCdns() {
        return cdns;
    }

    public void setCdns(String cdns) {
        this.cdns = cdns;
    }
}
